package pit.com.ordermobilesystem.modeladapter;

import pit.com.ordermobilesystem.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;


public class ChildView extends LinearLayout {
	   public TextView  tv_nameitem, tv_description,tv_price,tv_discount;
	   public ImageView img_dish,img_logo;
   public ChildView(Context context) {
		super(context);
		LayoutInflater li = (LayoutInflater) this.getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		li.inflate(R.layout.child, this,true);
		img_dish = (ImageView) findViewById(R.id.img_dish);
		tv_nameitem = (TextView) findViewById(R.id.tv_dishname);
		tv_price = (TextView) findViewById(R.id.tv_price);
		tv_discount = (TextView) findViewById(R.id.tv_discount);
		
      
	}



  }